﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HrEFCore
{
    //公共字段设置
    public class CPC
    {
        [Key]
		[DisplayName("编号")]
		[Required(ErrorMessage = "编号不能为空")]
		public short PbcId { get; set; }//主键
		[DisplayName("属性种类")]
		[Required(ErrorMessage = "属性种类不能为空")]
		public string AttributeKind { get; set; }//属性的种类
		[DisplayName("属性名称")]
		[Required(ErrorMessage = "属性名称不能为空")]
		public string AttributeName { get; set; }//属性的名称
    }
}
